<?php

use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ActiveForm;

$this->params['breadcrumbs'][] = $this->title;
?>
<h1><?= Html::encode($title) ?></h1>

<?php $form = ActiveForm::begin(["id" => "id"]); ?>
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'name')->textInput(); ?>
        <?php echo $form->field($model, 'content')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'edition')->textInput(); ?>
        <?php echo $form->field($model, 'car_model')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'displacement')->textInput(); ?>
        <?php echo $form->field($model, 'seating')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'drive')->textInput(); ?>
        <?php echo $form->field($model, 'energy')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'price')->textInput(); ?>
        <?php echo $form->field($model, 'level_info')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'accelerate')->textInput(); ?>
        <?php echo $form->field($model, 'highest_km')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'length')->textInput(); ?>
        <?php echo $form->field($model, 'width')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'height')->textInput(); ?>
        <?php echo $form->field($model, 'wheelbase')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'cylinder')->textInput(); ?>
        <?php echo $form->field($model, 'engine_type')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'horsepower')->textInput(); ?>
        <?php echo $form->field($model, 'power')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'speed')->textInput(); ?>
        <?php echo $form->field($model, 'torque')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'torque_speed')->textInput(); ?>
        <?php echo $form->field($model, 'oil_wear')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'list_time')->textInput(); ?>
    </span>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'tank')->textInput(); ?>
    </span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <span style="width:40%;display:inline-block;">
        <?php echo $form->field($model, 'stop_time')->textInput(); ?>
    </span>
    <span style="width:80%;display:inline-block;">
        <?php echo $form->field($model, 'car_info')->textInput(); ?>
    </span>
    <span style="width:80%;display:inline-block;">
        <?php echo $form->field($model, 'remarks')->textArea(['rows' => '10']); ?>
    </span>
    <br>
    <input type="submit" value="提 交" name="submit_btn" class="btn">
<?php ActiveForm::end(); ?>
